package biz.impl;

import java.util.List;
import java.util.Map;

import dao.JianLiDao;

import entity.Jianli;
import entity.Zhiweibiao;
import biz.JianLiBiz;

public class JianLiBizImpl implements JianLiBiz{
private JianLiDao jianLiDao;
	
	
	public boolean saveJianli(Jianli jianli) {
		return jianLiDao.saveJianli(jianli);
	}

	public boolean updateJianli(Jianli jianli) {
		
		return jianLiDao.updateJianli(jianli);
	}

	public boolean deleteJianli(Jianli jianli) {
		return jianLiDao.deleteJianli(jianli);
	}

	public Jianli findOne(long id) {
		return jianLiDao.findOne(id);
	}

	public List<Jianli> findJianlis(Map map, Integer pageNo, Integer size) {
		
		return jianLiDao.findJianlis(map, pageNo, size);
	}

	public List<Zhiweibiao> findZhiweibiaos(Map map) {
		// TODO Auto-generated method stub
		return jianLiDao.findZhiweibiaos(map);
	}

	public JianLiDao getJianLiDao() {
		return jianLiDao;
	}

	public void setJianLiDao(JianLiDao jianLiDao) {
		this.jianLiDao = jianLiDao;
	}

	public List<Jianli> findAll(Map map) {
		// TODO Auto-generated method stub
		return jianLiDao.findAll(map);
	}

}
